package com.hejjon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hejjon.core.domain.entity.SysMenu;
import com.hejjon.core.domain.vo.MenuVO;
import com.hejjon.domain.dto.SystemMenuDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author: cs
 * @date: 2024-12-20 12:27:21
 * @since: 1.0
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {


    int selectMaxOrderNumByLocation(@Param("location") String location);


    List<SysMenu> selectBySearchParam(@Param("searchParam") String searchParam);


    List<MenuVO> selectByIds(@Param("ids") Set<String> ids);


    int countByParentIds(@Param("parentIds")List<String> parentIds);


    List<MenuVO> selectBy(SystemMenuDTO dto);




}
